package com.tanjun.mallservice.apiservice.enums.plu;

import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 商品图片类型
 */
@AllArgsConstructor
@Getter
public enum PluImgModeEnum  {
    //ICON(1, "缩略图"),
    BANNER(1, "轮播图"),

    ;
    @JsonValue
    private Integer type;
    private String typeName;

    /**
     * 枚举数据库存储值
     */

    public Integer getValue() {
        return this.type;
    }
}
